import request from '@/common/js/request.js'

// 预警信息 API接口
const cre_work_recordApi = {
    findListByWarnId: '/cre_work_record/findListByWarnId',
	save: '/cre_work_record/save',
}

/**
 * 根据预警id查询处置记录
 */
 export function findListByWarnId(warnid) {
    return request({
        url: cre_work_recordApi.findListByWarnId,
        method: 'post',
        params: {warnid}
    })
}

/**
 * 保存处置记录
 * @param {*} body
 */
export function saveCre_work_record (body) {
    return request({
        url: cre_work_recordApi.save,
        method: 'post',
        data: body
    })
}
